import java.util.Scanner;

/**
 * Created by dllo on 18/3/30.
 */
public class Test02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入年份");
        int years = scanner.nextInt();
        if (years % 100 != 0 && years % 4 == 0) {
            System.out.println(years + "是闰年");
        } else if (years % 100 == 0 && years % 400 == 0) {
            System.out.println(years + "是闰年");
        } else {
            System.out.println(years + "不是闰年");

        }
    }

}

